package com.chinatelecom.clientservice.service;

import java.util.List;

import com.chinatelecom.clientservice.pojo.BaseRoles;
import com.chinatelecom.clientservice.pojo.BaseUsers;
import com.chinatelecom.clientservice.pojo.ExtGridReturn;
import com.chinatelecom.clientservice.pojo.ExtPager;

public interface UserService {
	public ExtGridReturn selectUserInfo(ExtPager pager, String realName);
	public List<BaseRoles> selectRoleList();
	public int saveUserInfo(BaseUsers user,List<String> roleIds);
	public List<BaseRoles> selectUserRoleInfo(String userId)throws Exception;
	public BaseUsers selectUserInfoByUserId(String userId)throws Exception;
}
